package com.xuecheng.manage_course.dao;

import com.xuecheng.framework.domain.course.CoursePic;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author zhaoxiang
 * @version 1.0
 * @Date 2019/11/4 13:26
 */
@Repository
public interface CoursePicRepository extends JpaRepository<CoursePic,String> {

    /**
     * 删除课程图片信息
     * @param courseId
     * @return 删除成功斌返回1否则返回0
     */
    long deleteByCourseid(String courseId);
}
